import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    mvlist:{}
  },
  getters: {
  },
  mutations: {
    saveMv(state, mvlist) {
      state.mvlist = mvlist
  }
  },
  actions: {
    saveMv(context, mvlist) {
      //提交(commit)mutation
      context.commit("saveMv", mvlist);
  }
  },
  modules: {
  }
})
